<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html">
	
    <h:panelGroup rendered="#{not empty sessionBean.clientId}">
    	<h2><h:outputText value="Liste commandes du client id #{sessionBean.clientId}"/></h2>
    </h:panelGroup>
    
    <h:panelGroup rendered="#{empty sessionBean.clientId}">
    	<h2><h:outputText value="Pas de client connecté"/></h2>
    </h:panelGroup>    

	<ui:include src="commandes.xhtml" />
    	
</ui:composition>